import { connect } from 'react-redux';
import Login from '@/page/Login';
import actions from '../../actions';


const mapStateToProps = state => {
  return {
    login: state.login
  };
};

const mapDispatchToProps = () => {
  return {
    ...actions.login
  };
};

export default connect(mapStateToProps , mapDispatchToProps )(Login);